package com.zretc.kscxmz.entity;

import java.util.List;

/**
 * @author zengyanjun
 * @date 2020-07-25
 *  讨论实体类
 */
public class Discuss {
    private Integer discussId;//讨论编号
    private Integer attachmentId;//
    private String content;//内容
    private String createTime;//创建时间
    private Integer statusId;//状态id
    private String title;//标题
    private Integer typeId;//类型id
    private Integer visitNum;//访问数
    private Integer discussUserId;//发起人
    private Integer voteId;//投票id
    private String modifyTime;//修改时间
    private String discussUserName;//
    private List<Reply> replies;//回复列表

    public Discuss() {
    }

    public Discuss(Integer discussId, Integer attachmentId, String content, String createTime, Integer statusId, String title, Integer typeId, Integer visitNum, Integer discussUserId, Integer voteId, String modifyTime) {
        this.discussId = discussId;
        this.attachmentId = attachmentId;
        this.content = content;
        this.createTime = createTime;
        this.statusId = statusId;
        this.title = title;
        this.typeId = typeId;
        this.visitNum = visitNum;
        this.discussUserId = discussUserId;
        this.voteId = voteId;
        this.modifyTime = modifyTime;
    }
    public List<Reply> getReplies() {
        return replies;
    }

    public void setReplies(List<Reply> replies) {
        this.replies = replies;
    }

    public String getDiscussUserName() {
        return discussUserName;
    }

    public void setDiscussUserName(String discussUserName) {
        this.discussUserName = discussUserName;
    }

    public Integer getDiscussId() {
        return discussId;
    }

    public void setDiscussId(Integer discussId) {
        this.discussId = discussId;
    }

    public Integer getAttachmentId() {
        return attachmentId;
    }

    public void setAttachmentId(Integer attachmentId) {
        this.attachmentId = attachmentId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public Integer getStatusId() {
        return statusId;
    }

    public void setStatusId(Integer statusId) {
        this.statusId = statusId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public Integer getVisitNum() {
        return visitNum;
    }

    public void setVisitNum(Integer visitNum) {
        this.visitNum = visitNum;
    }

    public Integer getDiscussUserId() {
        return discussUserId;
    }

    public void setDiscussUserId(Integer discussUserId) {
        this.discussUserId = discussUserId;
    }

    public Integer getVoteId() {
        return voteId;
    }

    public void setVoteId(Integer voteId) {
        this.voteId = voteId;
    }

    public String getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(String modifyTime) {
        this.modifyTime = modifyTime;
    }

    @Override
    public String toString() {
        return "Discuss{" +
                "discussId=" + discussId +
                ", attachmentId=" + attachmentId +
                ", content='" + content + '\'' +
                ", createTime='" + createTime + '\'' +
                ", statusId=" + statusId +
                ", title='" + title + '\'' +
                ", typeId=" + typeId +
                ", visitNum=" + visitNum +
                ", discussUserId=" + discussUserId +
                ", voteId=" + voteId +
                ", modifyTime='" + modifyTime + '\'' +
                '}';
    }
}
